-
Notifications
You must be signed in to change notification settings - Fork 5
feat: display arguments values in input nodes in run view #1612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
feat: display arguments values in input nodes in run view #1612
Conversation
| isDefault ? ( | ||
| <InlineStack gap="1" className="ml-2"> | ||
| <Icon | ||
| name="SquareCheckBig" | ||
| size="sm" | ||
| className="text-muted-foreground" | ||
| /> | ||
|
|
||
| <Paragraph tone="subdued" size="xs"> | ||
| Use as default | ||
| </Paragraph> | ||
| </InlineStack> | ||
| ) : null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A little rusty after the break but does isDefault && (<Component />) work instead of a full ternary?
| placeholder={placeholder} | ||
| disabled={disabled} | ||
| inputName={input.name} | ||
| isDefault={!argumentValue || argumentValue === defaultInputValue} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For tidiness maybe extract this into a variable.
camielvs
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if just the "Use as Default" checkmark is sufficient as a differentiator. It is rather subtle. For values that come from external sources maybe we need a specific icon/info text for that? e.g. "Value provided externally" or something like that
e19e404 to
3612180
Compare
4435eaf to
c5adfbb
Compare
3612180 to
e662951
Compare

Description
Closes https://github.com/Shopify/oasis-frontend/issues/414
Added support for displaying task arguments in the IO Node and Input Value Editor. This enhancement allows users to see when a pipeline input has been overridden with an argument value, clearly indicating when a value is not the default.
Type of Change
Checklist
Test Instructions
Screen Recording 2026-01-09 at 4.59.02 PM.mov (uploaded via Graphite)
Additional Comments
This change extracts the
getArgumentValuefunction into a separate utility file for reuse and adds conditional rendering of the "Use as default" indicator based on whether the current value is an argument override.